/* 
  配置环境
*/
const env = import.meta.env.MODE || 'prod'

const EnvConfig = {
    dev: {
        baseApi: '/',
        mockApi: 'https://www.fastmock.site/mock/00974245df2e12153b8536af8f44d50c/api'
    },
    test: {
        baseApi: '/',
        mockApi: 'https://www.fastmock.site/mock/00974245df2e12153b8536af8f44d50c/api'
    },
    prod: {
        baseApi: '/',
        mockApi: 'https://www.fastmock.site/mock/00974245df2e12153b8536af8f44d50c/api'
    }
}

export default {
    env,
    mock: true,
    ...EnvConfig[env]
}